# brief

import { Badge } from '@theme';

:::warning
Deprecated in V2, please use [output.mode: 'brief'](/config/options/output#mode) instead. Refer to [brief configuration migration](/config/options/options-v2#brief).
:::

- **Type:** [BriefType](#brieftype)
- **Optional:** `true`
- **Default:** `undefined`

Detailed configuration options for Brief mode are as follows:

- **reportHtmlName:** Configures the filename of the HTML report in Brief mode. The default value is `report-rsdoctor.html`.
- **writeDataJson:** (Deprecated, please use `output.options.type: ['json', 'html']`, refer to [output.options.type](/config/options/options-v2#options).) By default, Brief mode injects the analysis data directly into the HTML file, so no additional build analysis data files are generated. If you need to generate additional local JSON data files, you need to configure `writeDataJson: true`.

## briefType

```ts
interface BriefConfig {
  reportHtmlName?: string | undefined;
  writeDataJson: boolean;
}
```

- **Example:**

```js
new RsdoctorRspackPlugin({
  output: {
    mode: 'brief',
  },
});
```
